﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace WechatModule
{
    public class WechatGlobalVar
    {
        //public const string Token = "SuperVegeta";		//与微信平台填写的token一致
        //public const string AppId = "wxd6bf3d1e9030071c";
        //public const string AppSecret = "8538471a237a232de29a0079398ed2b2";
        //public const string Domain = "www.laojiahua.com";
        private static string token = System.Configuration.ConfigurationManager.AppSettings["wechatToken"];		//与微信平台填写的token一致

        public static string Token
        {
            get { return WechatGlobalVar.token; }
        }
        private static string appId = System.Configuration.ConfigurationManager.AppSettings["wechatAppId"];

        public static string AppId
        {
            get { return WechatGlobalVar.appId; }
        }
        private static string appSecret = ConfigurationManager.AppSettings["wechatAppSecret"];

        public static string AppSecret
        {
            get { return WechatGlobalVar.appSecret; }
        }
       

        /// <summary>
        /// 第1个按钮回复
        /// </summary>
        public static string WechatBtn0Url = ConfigurationManager.AppSettings["wechatBtn0Url"];

        /// <summary>
        /// 第二个按钮
        /// </summary>
        public static string WechatBtn1Url = ConfigurationManager.AppSettings["wechatBtn1Url"];
        
    }
}